package com.OrderingServer;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@EnableSwagger2Doc//使能注解开启swagger2
@MapperScan("com.OrderingServer.mapper")
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
        System.out.println("swagger在http://localhost:8888/doc.html");
    }
}
